<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex shopDetailes_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between shopDetailes_fd0_0'>
					<view class='flex flex-wrap align-center shopDetailes_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  shopDetailes_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='shopDetailes_fd0_0_c1_c0'>{{$t('订单详情')}}</text>
					</view>
					<view class='flex align-center justify-end shopDetailes_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---订单flex布局开始-->
			<view class="flex flex-direction align-stretch benben-flex-layout shopDetailes_flex_1">
				<view class='flex align-center shopDetailes_fd1_0'>
					<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
						<text class='shopDetailes_fd1_0_c0_c0'
							v-if="dataDetails.status=='0' && dataDetails.pay_type!='offline_pay'">{{$t('订单待付款')}}</text><text
							class='shopDetailes_fd1_0_c0_c0' v-if="dataDetails.status=='1'">{{$t('订单待发货')}}</text><text
							class='shopDetailes_fd1_0_c0_c0' v-if="dataDetails.status=='2'">{{$t('订单待收货')}}</text><text
							class='shopDetailes_fd1_0_c0_c0' v-if="dataDetails.status=='3'">{{$t('订单待评价')}}</text><text
							class='shopDetailes_fd1_0_c0_c0' v-if="dataDetails.status=='4'">{{$t('订单已完成')}}</text><text
							class='shopDetailes_fd1_0_c0_c0' v-if="dataDetails.status=='-1'">{{$t('订单已关闭')}}</text>
						<view class='flex flex-wrap align-stretch shopDetailes_fd1_0_c0_c1'
							v-if="dataDetails.status=='0' && dataDetails.pay_type!='offline_pay'">
							<text class='shopDetailes_fd1_0_c0_c1_c0'>{{$t('剩余时间：')}}</text>
							<benben-countdown class='shopDetailes_fd1_0_c0_c1_c1' :show-day='true' :time-type='false'
								:count-time="dataDetails.cancel_surplus_second"
								v-if=" dataDetails.cancel_surplus_second>=daojishi">
								<template #default="{ d, h, i, s }">
									<text>{{d}}</text>

									<text>天</text>

									<text>{{h}}</text>

									<text>:</text>

									<text>{{i}}</text>

									<text>:</text>

									<text>{{s}}</text>

									<text></text>
								</template>
							</benben-countdown>
							<benben-countdown class='shopDetailes_fd1_0_c0_c1_c1' :show-day='false' :time-type='false'
								:count-time="dataDetails.cancel_surplus_second"
								v-if=" dataDetails.cancel_surplus_second<daojishi">
								<template #default="{ d, h, i, s }">
									<text>{{h}}</text>

									<text>:</text>

									<text>{{i}}</text>

									<text>:</text>

									<text>{{s}}</text>

									<text></text>
								</template>
							</benben-countdown>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd1_0_c0_c1'
							v-if="dataDetails.status=='2'">
							<text class='shopDetailes_fd1_0_c0_c1_c0'>{{$t('还剩')}}</text>
							<benben-countdown class=' shopDetailes_fd1_0_c0_c1_c1' :show-day='true' :time-type='false'
								:count-time="dataDetails.receive_surplus_time">
								<template #default="{ d, h, i, s }">
									<text>{{d}}</text>

									<text>天</text>

									<text>{{h}}</text>

									<text>:</text>

									<text>{{i}}</text>

									<text>:</text>

									<text>{{s}}</text>

									<text></text>
								</template>
							</benben-countdown>
							<text class='shopDetailes_fd1_0_c0_c1_c0'>{{$t('自动确认')}}</text>
						</view>
						<text class='shopDetailes_fd1_0_c0_c3'
							v-if="dataDetails.status=='3'">{{$t('您的评价将会给其他买家参考')}}</text>
					</view>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"512.png"'
						v-if="dataDetails.status=='0' && dataDetails.pay_type!='offline_pay'"></image>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"513.png"'
						v-if="dataDetails.status=='1'"></image>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"514.png"'
						v-if="dataDetails.status=='2'"></image>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"515.png"'
						v-if="dataDetails.status=='3'"></image>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"516.png"'
						v-if="dataDetails.status=='4'"></image>
					<image class='shopDetailes_fd1_0_c1' mode="aspectFit" :src='STATIC_URL+"512.png"'
						v-if="dataDetails.status=='7'"></image>
				</view>
				<view class='flex flex-wrap align-center shopDetailes_fd1_1'>
					<image class='shopDetailes_fd1_1_c0' mode="aspectFit" :src='STATIC_URL+"397.png"'></image>
					<view class='flex flex-direction flex-wrap align-stretch flex-sub shopDetailes_fd1_1_c1'>
						<view class='flex align-center'>
							<text class='shopDetailes_fd1_1_c1_c0_c0'>{{dataDetails.order_info.receiver_name}}</text>
							<text class='shopDetailes_fd1_1_c1_c0_c1'>(</text>
							<text class='shopDetailes_fd1_1_c1_c0_c1'
								v-if=" dataDetails.order_info.sex=='1'">{{$t('先生')}}</text><text
								class='shopDetailes_fd1_1_c1_c0_c1'
								v-if=" dataDetails.order_info.sex!='1'">{{$t('女士')}}</text>
							<text class='shopDetailes_fd1_1_c1_c0_c1'>)</text>
							<text
								class='flex-sub shopDetailes_fd1_1_c1_c0_c4'>{{dataDetails.order_info.receiver_mobile}}</text>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd1_1_c1_c1'>
							<view class='flex-sub'>
								<text class='shopDetailes_fd1_1_c1_c1_c0_c0'>{{dataDetails.order_info.province}}</text>
								<text class='shopDetailes_fd1_1_c1_c1_c0_c0'>{{dataDetails.order_info.city}}</text>
								<text class='shopDetailes_fd1_1_c1_c1_c0_c0'>{{dataDetails.order_info.district}}</text>
								<text
									class='shopDetailes_fd1_1_c1_c1_c0_c3'>{{dataDetails.order_info.receiver_address}}</text>
							</view>
						</view>
					</view>
					<image class='shopDetailes_fd1_1_c2' mode="aspectFit" :src='STATIC_URL+"517.png"'></image>
				</view>
				<view class='flex flex-direction flex-wrap align-stretch shopDetailes_fd1_2'>
					<template v-for='(item,key0) in dataDetails.order_goods_list'>
						<view class='flex flex-direction align-stretch shopDetailes_fd1_2_c0' :key='key0'>
							<view class='flex align-stretch shopDetailes_fd1_2_c0_c0' @tap="handleJumpDiy"
								data-type="navigateTo"
								:data-url="`/pages/newShop/goodsDetails/goodsDetails?shop_id=${item.goods_id}`">
								<image class='shopDetailes_fd1_2_c0_c0_c0' mode="aspectFill" :src='item.goods_thumb'>
								</image>
								<view class='flex flex-direction align-stretch flex-sub shopDetailes_fd1_2_c0_c0_c1'>
									<text class='shopDetailes_fd1_2_c0_c0_c1_c0'>{{item.goods_name}}</text>
									<text class='shopDetailes_fd1_2_c0_c0_c1_c1'>{{item.sku_name}}</text>
									<view class='flex flex-wrap align-center justify-between'>
										<view class='flex flex-wrap align-center'>
											<text class='shopDetailes_fd1_2_c0_c0_c1_c2_c0_c0'>{{$t('¥')}}</text>
											<text class=' shopDetailes_fd1_2_c0_c0_c1_c2_c0_c1'>
												<text
													class=' shopDetailes_price1_fd1_2_c0_c0_c1_c2_c0_c1'>{{ item.shop_price | frontPrice }}</text>
												<text
													class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ item.shop_price | laterPrice }}</text>
											</text>
										</view>
										<view class='flex flex-wrap align-center shopDetailes_fd1_2_c0_c0_c1_c2_c1'>
											<text>x</text>
											<text>{{item.num}}</text>
										</view>
									</view>
								</view>
							</view>
							<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_2_c0_c1'>
								<button class='self-center shopDetailes_fd1_2_c0_c1_c0' @tap.stop="handleJumpDiy"
									data-type="navigateTo"
									:data-url="`/pages/newShop/serviceApply/serviceApply?aid=${item.aid}`"
									v-if=" item.refund_btn.apply_refund=='1'">{{$t('申请售后')}}</button>
								<button class='self-center shopDetailes_fd1_2_c0_c1_c1'
									@tap.stop="gotoreturnFunc(item.aid,item.refund_btn.refund_id,item.refund_btn.view_refund_list)"
									v-if=" item.refund_btn.view_refund=='1'">{{$t('查看售后详情')}}</button>
							</view>
						</view>
					</template>

					<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_2_c1'>
						<text class='shopDetailes_fd1_2_c1_c0'>{{$t('商品总额')}}</text>
						<text class='shopDetailes_fd1_2_c1_c1'>{{$t('¥')}}</text>
						<text class=' shopDetailes_fd1_2_c1_c2'>
							<text
								class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.goods_total | frontPrice }}</text>
							<text
								class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.goods_total | laterPrice }}</text>
						</text>
					</view>
					<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_2_c2' v-if="dataDetails.coupon_money>0">
						<text class='shopDetailes_fd1_2_c1_c0'>优惠券</text>
						<text class='shopDetailes_fd1_2_c1_c1'>-¥</text>
						<text class='shopDetailes_fd1_2_c1_c2'>
							<text class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.coupon_money | frontPrice }}</text>
							<text class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.coupon_money | laterPrice }}</text>
						</text>
					</view>
					<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_2_c2'>
						<text class='shopDetailes_fd1_2_c1_c0'>{{$t('运费')}}</text>
						<text class='shopDetailes_fd1_2_c1_c1'
							v-if=" dataDetails.order_info.express_price>money">{{$t('¥')}}</text><text
							class='shopDetailes_fd1_2_c1_c1'
							v-if=" dataDetails.order_info.express_price==money">包邮</text>
						<text class='shopDetailes_fd1_2_c1_c2' v-if=" dataDetails.order_info.express_price>money">
							<text
								class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.order_info.express_price | frontPrice }}</text>
							<text
								class=' shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1'>{{ dataDetails.order_info.express_price | laterPrice }}</text>
						</text>
					</view>
					<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_2_c4'
						v-if=" dataDetails.status!='7'">
						<text class='shopDetailes_fd1_2_c4_c0' v-if="dataDetails.status<'1'">{{$t('应付款')}}</text><text
							class='shopDetailes_fd1_2_c4_c0' v-if="dataDetails.status>='1'">{{$t('实付款')}}</text>
						<text class='shopDetailes_fd1_2_c4_c1'>{{$t('¥')}}</text>
						<text class='shopDetailes_fd1_2_c4_c2' v-if="dataDetails.status<'1'">
							<text
								class=' shopDetailes_price1_fd1_2_c4_c2'>{{ dataDetails.payable_money | frontPrice }}</text>
							<text
								class=' shopDetailes_price2_fd1_2_c4_c2'>{{ dataDetails.payable_money | laterPrice }}</text>
						</text><text class='shopDetailes_fd1_2_c4_c2_1' v-if="dataDetails.status>='1'">
							<text
								class=' shopDetailes_price1_fd1_2_c4_c2'>{{ dataDetails.real_money | frontPrice }}</text>
							<text
								class=' shopDetailes_price2_fd1_2_c4_c2'>{{ dataDetails.real_money | laterPrice }}</text>
						</text>
					</view>
				</view>
				<view class='flex flex-direction flex-wrap align-stretch shopDetailes_fd1_3'>
					<view class='flex flex-wrap align-center shopDetailes_fd1_3_c0'>

						<view class='flex  shopDetailes_fd1_3_c0_c0'></view>

						<text class='shopDetailes_fd1_3_c0_c1'>{{$t('订单信息')}}</text>
					</view>
					<view class='flex flex-wrap align-start shopDetailes_fd1_2_c0_c0'>
						<text class='shopDetailes_fd1_3_c1_c0'>{{$t('订单备注')}}</text>
						<text class='flex-sub shopDetailes_fd1_3_c1_c1'
							v-if="dataDetails.order_info.remark!=''">{{dataDetails.order_info.remark}}</text><text
							class='flex-sub shopDetailes_fd1_3_c1_c1' v-if="dataDetails.order_info.remark==''">无</text>
					</view>
					<view class='flex flex-wrap align-stretch shopDetailes_fd1_3_c2'>
						<text class='shopDetailes_fd1_2_c0_c0_c1_c2_c1'>{{$t('订单编号')}}</text>
						<text class='shopDetailes_fd1_3_c2_c1'>{{dataDetails.order_sn}}</text>
						<text class='shopDetailes_fd1_3_c2_c2' @tap.stop="copyText(dataDetails.order_sn)">复制</text>
					</view>
					<view class='flex flex-direction flex-wrap align-stretch'>
						<view class='flex flex-wrap align-center shopDetailes_fd1_2_c0_c0'>
							<text class='shopDetailes_fd1_3_c3_c0_c0'>{{$t('下单时间')}}</text>
							<text class='shopDetailes_fd1_1_c1_c1_c0_c3'>{{dataDetails.create_time}}</text>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd1_2_c0_c0'
							v-if="dataDetails.status>'0' || dataDetails.pay_status=='offline_pay'">
							<text class='shopDetailes_fd1_3_c3_c0_c0'>{{$t('付款金额')}}</text>
							<text class='shopDetailes_fd1_3_c3_c1_c1'>{{$t('¥')}}</text>
							<text class=' shopDetailes_fd1_3_c3_c1_c2'>
								<text
									class=' shopDetailes_price1_fd1_3_c3_c1_c2'>{{ dataDetails.real_money | frontPrice }}</text>
								<text
									class=' shopDetailes_price1_fd1_3_c3_c1_c2'>{{ dataDetails.real_money | laterPrice }}</text>
							</text>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd1_2_c0_c0'
							v-if="dataDetails.status>'0' || dataDetails.pay_status=='offline_pay'">
							<text class='shopDetailes_fd1_3_c3_c0_c0'>{{$t('支付方式')}}</text>
							<text class='shopDetailes_fd1_3_c3_c2_c1'
								v-if="dataDetails.pay_type=='wechat'">微信支付</text><text
								class='shopDetailes_fd1_3_c3_c2_c1'
								v-if="dataDetails.pay_type=='alipay'">支付宝支付</text><text
								class='shopDetailes_fd1_3_c3_c2_c1'
								v-if="dataDetails.pay_type=='balance'">余额支付</text><text
								class='shopDetailes_fd1_3_c3_c2_c1'
								v-if="dataDetails.pay_type=='offline_pay'">线下支付</text>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd1_2_c0_c0'
							v-if="dataDetails.status>'0' || dataDetails.pay_status=='offline_pay'">
							<text class='shopDetailes_fd1_3_c3_c0_c0'>{{$t('支付时间')}}</text>
							<text class='shopDetailes_fd1_1_c1_c1_c0_c3'>{{dataDetails.pay_time}}</text>
						</view>
					</view>
				</view>
				<view class='flex flex-wrap align-center justify-end shopDetailes_fd1_4'>
					<button class='shopDetailes_fd1_4_c0' @tap.stop="popupShow1657247297312=true"
						v-if="dataDetails.btn_list.cancel_order=='1'">{{$t('取消订单')}}</button><button
						class='shopDetailes_fd1_4_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/newShop/logisticsCheck/logisticsCheck?order_id=${dataDetails.aid}`"
						v-if="dataDetails.btn_list.view_logistics=='1'">{{$t('查看物流')}}</button><button
						class='shopDetailes_fd1_4_c0' @tap.stop="deleteOrderFunc()"
						v-if=" dataDetails.btn_list.delete_order=='1'">删除订单</button><button
						class='shopDetailes_fd1_4_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/my/applyInvoic/applyInvoic?order_sn=${dataDetails.order_sn}&invoice_type=2`"
						v-if=" dataDetails.btn_list.apply_invoice=='1'">申请发票</button><button
						class='shopDetailes_fd1_4_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/my/fapiao/fapiao?order_sn=${dataDetails.order_sn}`"
						v-if=" dataDetails.btn_list.view_invoice=='1'">查看发票</button>
					<button class='shopDetailes_fd1_4_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/index/cashier/cashier?money=${dataDetails.payable_money}&countdown=${dataDetails.cancel_surplus_second}&order_sn=${dataDetails.order_sn}&order_type=19`"
						v-if="dataDetails.btn_list.go_pay=='1'">{{$t('去付款')}}</button>
					<button class='shopDetailes_fd1_4_c1' @tap.stop="remindShopFunc()"
						v-if="dataDetails.status=='1' && dataDetails.btn_list.remind_send=='1'">{{$t('提醒发货')}}</button><button
						class='shopDetailes_fd1_4_c1'
						v-if="dataDetails.btn_list.remind_already=='1'">{{$t('已提醒')}}</button>
					<button class='shopDetailes_fd1_4_c1' @tap.stop="confirmReceiptFunc()"
						v-if="dataDetails.btn_list.confirm_receive=='1'">{{$t('确认收货')}}</button><button
						class='shopDetailes_fd1_4_c1' @tap.stop="handleJumpDiy" data-type="navigateTo"
						:data-url="`/pages/newShop/evaluation/evaluation?id=${order_id}`"
						v-if="dataDetails.btn_list.evaluate=='1'">{{$t('评价')}}</button>
				</view>
			</view>

			<!---订单flex布局结束-->
			<benben-popup v-model="popupShow1657247297312" :mask="true" :mask-close-able="true" mode='bottom'>
				<!---取消订单flex布局开始-->
				<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout shopDetailes_flex_2">
					<view class='flex flex-direction flex-wrap align-stretch shopDetailes_fd2_0'>
						<view class='flex flex-wrap align-center justify-between shopDetailes_fd2_0_c0'>
							<text class='shopDetailes_fd2_0_c0_c0'
								@tap.stop="popupShow1657247297312=false">{{$t('取消')}}</text>
							<text class='shopDetailes_fd2_0_c0_c1'>{{$t('取消订单')}}</text>
							<text class='shopDetailes_fd2_0_c0_c2' @tap.stop="cancelOrderFunc()">{{$t('确定')}}</text>
						</view>
						<view class='flex flex-wrap align-center shopDetailes_fd2_0_c1'>
							<text class='shopDetailes_fd2_0_c1_c0'>{{$t('请选择取消订单原因')}}</text>
						</view>

						<scroll-view class='shopDetailes_fd2_0_c2' :scroll-y='true'>
							<view class='flex flex-direction align-stretch benben-scroll flex'>
								<benben-select-diy ref="showSelectPopup1693558527060"
									class-name='flex flex-direction flex' :items.sync="dataMessage" v-model="cancel_id"
									default-type="aid" default-label="reason" :allow-cancel='true' type="radio"
									:disabled='false'>
									<template v-for='(item,key0) in dataMessage'>
										<view v-if="item.isSelected"
											class='flex justify-between flex shopDetailes_fd2_0_c2_c0_c0' :key="key0"
											@tap="$refs.showSelectPopup1693558527060.tapHandle(key0)">
											<text>{{item.reason}}</text>
											<image class='shopDetailes_fd2_0_c2_c0_c0_c1' mode="aspectFit"
												:src='STATIC_URL+"133.png"'></image>
										</view>
										<view v-else class='flex justify-between flex shopDetailes_fd2_0_c2_c0_c0'
											:key="key0" @tap="$refs.showSelectPopup1693558527060.tapHandle(key0)">
											<text>{{item.reason}}</text>
											<image class='shopDetailes_fd2_0_c2_c0_c0_c1' mode="aspectFit"
												:src='STATIC_URL+"81.png"'></image>
										</view>
									</template></benben-select-diy>
							</view>
						</scroll-view>

					</view>
				</view>

				<!---取消订单flex布局结束-->

			</benben-popup>


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"popupShow1657247297312": false,
				"cut": "1",
				"cancel_id": "",
				"dataDetails": {
					"aid": "",
					"order_sn": "",
					"order_money": "",
					"payable_money": "",
					"coupon_id": "",
					"coupon_money": "",
					"send_time": "",
					"receive_time": "",
					"pay_time": "",
					"discount_money": "",
					"create_time": "",
					"pay_type": "",
					"status": "",
					"advance_sn": "",
					"usermerchant_id": "",
					"pay_status": "",
					"pay_type_str": "",
					"order_info": {
						"receiver_mobile": "",
						"receiver_address": "",
						"receiver_name": "",
						"remark": "",
						"province": "",
						"city": "",
						"district": "",
						"sex": "",
						"label_name": "",
						"express_price": ""
					},
					"goods_total": "",
					"order_goods_list": [],
					"shop_info": "",
					"is_multiple_package": "",
					"btn_list": {
						"cancel_order": "",
						"go_pay": "",
						"remind_send": "",
						"remind_already": "",
						"apply_invoice": "",
						"view_invoice": "",
						"apply_refund": "",
						"view_logistics": "",
						"confirm_receive": "",
						"evaluate": "",
						"delete_order": "",
						"pay_balance": "",
						"pickup_code": ""
					},
					"discount_str": "",
					"cancel_surplus_second": "",
					"receive_surplus_time": "",
					"goods_money": ""
				},
				"dataMessage": [],
				"text": "shenqingchengg",
				"money": 0,
				"daojishi": 86400,
				"order_id": "",
				"message_id": ""
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				order_id,
				message_id
			} = options
			if (order_id !== undefined) this.order_id = order_id
			if (message_id !== undefined) this.message_id = message_id
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getDetailFunc()
			this.getCancelTypeFunc()
			this.getMessageFunc()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//删除订单
			async deleteOrderFunc() {
				//请求方法
				//数据验证

				let data6447c3b69f234 = await this.$api.dbPost(global.apiUrls.post6447c3b69f234, {
					order_id: this.order_id
				});
				if (!data6447c3b69f234) return
				if (data6447c3b69f234.data.code != 1) {
					this.$message.info(data6447c3b69f234.data.msg);
					return
				}



				this.$message.info('删除成功');
				uni.$emit('shenqingchengg', this.text)
				setTimeout(() => {
					this.$urouter.navigateBack(1);
				}, 500)
			},
			//订单-订单详情
			async getDetailFunc() {
				//请求方法
				//数据验证

				let datadataDetails = await this.$api.post(global.apiUrls.post62c92b9d5ada3, {
					order_id: this.order_id,
					order_type: '3'
				});

				if (datadataDetails.data.code != 1) {
					this.$message.info(datadataDetails.data.msg);
					return
				}
				let infodataDetails = datadataDetails.data;
				this.dataDetails = infodataDetails.data

			},
			//取消订单
			async cancelOrderFunc() {
				if (!validate(this.cancel_id, 'require')) {
					this.$message.info('请选择取消原因');
					return false;
				}
				//请求方法
				//数据验证

				let data62cb8b8438141 = await this.$api.dbPost(global.apiUrls.post62cb8b8438141, {
					order_id: this.order_id,
					return_id: this.cancel_id
				});
				if (!data62cb8b8438141) return
				if (data62cb8b8438141.data.code != 1) {
					this.$message.info(data62cb8b8438141.data.msg);
					return
				}



				this.popupShow1657247297312 = false;
				this.$message.info('取消成功');
				uni.$emit('shenqingchengg', this.text)
				this.getDetailFunc()
			},
			//获取取消订单状态
			async getCancelTypeFunc() {
				//请求方法
				//数据验证

				let datadataMessage = await this.$api.get(global.apiUrls.post641ae6544d2d5, {
					type: '2'
				});

				if (datadataMessage.data.code != 1) {
					this.$message.info(datadataMessage.data.msg);
					return
				}
				let infodataMessage = datadataMessage.data;
				this.dataMessage = infodataMessage.data

			},
			//提现发货
			async remindShopFunc() {
				//请求方法
				//数据验证

				let data62bec4f86725d = await this.$api.dbPost(global.apiUrls.post62bec4f86725d, {
					order_id: this.order_id
				});
				if (!data62bec4f86725d) return
				if (data62bec4f86725d.data.code != 1) {
					this.$message.info(data62bec4f86725d.data.msg);
					return
				}



				this.$message.info('提醒成功');
				uni.$emit('shenqingchengg', this.text)
				this.getDetailFunc()
			},
			//确认收货
			async confirmReceiptFunc() {
				//请求方法
				//数据验证

				let data64218bff49e61 = await this.$api.dbPost(global.apiUrls.post64218bff49e61, {
					order_id: this.order_id
				});
				if (!data64218bff49e61) return
				if (data64218bff49e61.data.code != 1) {
					this.$message.info(data64218bff49e61.data.msg);
					return
				}



				this.$message.info('收货成功');
				uni.$emit('shenqingchengg', this.text)
				this.getDetailFunc()
			},
			//跳转售后详情
			gotoreturnFunc(aid, refund_id, view_refund_list) {
				if (view_refund_list == 0) {
					this.$urouter.navigateTo(`/pages/newShop/detailsRefund/detailsRefund?id=${refund_id}`);
				} else {
					this.$urouter.navigateTo(`/pages/newShop/refundList/refundList?order_goods_id=${aid}`);
				}
			},
			//读取消息
			async getMessageFunc() {
				if (this.message_id != '') {
					//请求方法
					//数据验证

					let data65fea687e3102 = await this.$api.get(global.apiUrls.post65fea687e3102, {
						message_id: this.message_id
					});

					if (data65fea687e3102.data.code != 1) {
						this.$message.info(data65fea687e3102.data.msg);
						return
					}



				}
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: url(image-path('401.png')) no-repeat;
		background-size: 100% auto;
	}

	.shopDetailes_flex_0 {
		background: url(image-path('401.png')) no-repeat;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.shopDetailes_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 200rpx;
	}

	.shopDetailes_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #fff;
	}

	.shopDetailes_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #fff;
		font-weight: 500;
	}

	.shopDetailes_fd0_0_c0 {
		width: 200rpx;
	}

	.shopDetailes_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.shopDetailes_flex_1 {
		padding: 5rpx 24rpx 32rpx 24rpx;
	}

	.shopDetailes_fd1_4_c1 {
		background: var(--benbenbgColor2);
		border-radius: 40rpx 40rpx 40rpx 40rpx;
		font-size: 24rpx;
		color: #fff;
		width: 170rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shopDetailes_fd1_4_c0 {
		background: rgba(246, 246, 246, 1);
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		font-size: 24rpx;
		color: #333;
		width: 170rpx;
		height: 60rpx;
		line-height: 60rpx;
		font-weight: 400;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shopDetailes_fd1_4 {
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
		position: fixed;
		bottom: calc(0rpx + var(--window-bottom));
		width: 750rpx;
		height: 88rpx;
		left: 0rpx;
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.shopDetailes_fd1_3_c3_c2_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #333333;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		max-width: 150rpx;
	}

	.shopDetailes_price1_fd1_3_c3_c1_c2 {
		font-size: 24rpx;
	}

	.shopDetailes_fd1_3_c3_c1_c2 {
		color: rgba(255, 65, 51, 1);
		font-weight: 400;
		font-size: 24rpx;
	}

	.shopDetailes_fd1_3_c3_c1_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: rgba(255, 65, 51, 1);
	}

	.shopDetailes_fd1_3_c3_c0_c0 {
		margin: 0rpx 72rpx 0rpx 0rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.shopDetailes_fd1_3_c2_c2 {
		font-size: 24rpx;
		font-weight: 400;
		color: var(--benbenFontColor4);
	}

	.shopDetailes_fd1_3_c2_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #333333;
		margin: 0rpx 43rpx 0rpx 72rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.shopDetailes_fd1_3_c2 {
		line-height: 34rpx;
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_3_c1_c1 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.shopDetailes_fd1_3_c1_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
		margin: 0rpx 72rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_3_c0_c1 {
		font-size: 32rpx;
		font-weight: 600;
		color: #333333;
	}

	.shopDetailes_fd1_3_c0_c0 {
		background: var(--benbenbgColor2);
		width: 8rpx;
		height: 30rpx;
		margin: 0rpx 15rpx 0rpx 0rpx;
		transform: scaleX(0.5);
	}

	.shopDetailes_fd1_3_c0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 24rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_3 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 32rpx 24rpx 32rpx 24rpx;
		margin: 12rpx 0rpx 100rpx 0rpx;
	}

	.shopDetailes_fd1_2_c4_c2_1 {
		color: rgba(250, 32, 51, 1);
		font-weight: 700;
		font-size: 22rpx;
	}

	.shopDetailes_price2_fd1_2_c4_c2 {
		font-size: 22rpx;
	}

	.shopDetailes_price1_fd1_2_c4_c2 {
		font-size: 40rpx;
	}

	.shopDetailes_fd1_2_c4_c2 {
		color: rgba(255, 65, 51, 1);
		font-weight: 700;
		font-size: 22rpx;
	}

	.shopDetailes_fd1_2_c4_c1 {
		font-size: 20rpx;
		font-weight: 700;
		color: rgba(255, 65, 51, 1);
	}

	.shopDetailes_fd1_2_c4_c0 {
		font-size: 24rpx;
		font-weight: 500;
		color: rgba(153, 153, 153, 1);
		margin: 0rpx 8rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c4 {
		border-top: 1px solid #eee;
		padding: 32rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c2 {
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.shopDetailes_fd1_2_c1_c2 {
		color: #333333;
		font-weight: 700;
		font-size: 28rpx;
		line-height: 42rpx;
	}

	.shopDetailes_fd1_2_c1_c1 {
		font-size: 28rpx;
		font-weight: 700;
		color: #333333;
		line-height: 42rpx;
	}

	.shopDetailes_fd1_2_c1_c0 {
		font-size: 28rpx;
		font-weight: 500;
		color: #333333;
		margin: 0rpx auto 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c1 {
		margin: 32rpx 0rpx 32rpx 0rpx;
	}

	.shopDetailes_fd1_2_c0_c1_c1 {
		background: rgba(246, 246, 246, 1);
		border-radius: 28rpx 28rpx 28rpx 28rpx;
		font-size: 24rpx;
		color: #333;
		width: 220rpx;
		height: 56rpx;
		margin-left: 24rpx;
	}

	.shopDetailes_fd1_2_c0_c1_c0 {
		background: rgba(246, 246, 246, 1);
		border-radius: 28rpx 28rpx 28rpx 28rpx;
		font-size: 24rpx;
		color: #333;
		width: 144rpx;
		height: 56rpx;
		// margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c0_c1 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c1_c2_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.shopDetailes_price2_fd1_2_c0_c0_c1_c2_c0_c1 {
		font-size: 28rpx;
	}

	.shopDetailes_price1_fd1_2_c0_c0_c1_c2_c0_c1 {
		font-size: 32rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c1_c2_c0_c1 {
		color: var(--benbenFontColor0);
		font-weight: 600;
	}

	.shopDetailes_fd1_2_c0_c0_c1_c2_c0_c0 {
		color: var(--benbenFontColor0);
		font-size: 20rpx;
		font-weight: 700;
		line-height: 30rpx;
		margin: 4rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c1_c1 {
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
		margin: 8rpx 0rpx auto 0rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 33rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c1_c0 {
		font-size: 28rpx;
		font-weight: 600;
		color: #333333;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 42rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c1 {
		margin: 0rpx 0rpx 0rpx 34rpx;
	}

	.shopDetailes_fd1_2_c0_c0_c0 {
		width: 200rpx;
		height: 200rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.shopDetailes_fd1_2_c0_c0 {
		margin: 32rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_2_c0 {
		border-bottom: 1px solid #eee;
		padding: 0rpx 0rpx 32rpx 0rpx;
	}

	.shopDetailes_fd1_2 {
		background: #fff;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 32rpx 24rpx 32rpx 24rpx;
		background-size: 100% auto !important;
		margin: 12rpx 0rpx 12rpx 0rpx;
	}

	.shopDetailes_fd1_1_c2 {
		width: 14rpx;
		height: 26rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shopDetailes_fd1_1_c1_c1_c0_c3 {
		font-size: 24rpx;
		font-weight: 400;
		color: #333333;
	}

	.shopDetailes_fd1_1_c1_c1_c0_c0 {
		font-size: 24rpx;
		font-weight: 400;
		color: #333333;
		margin: 0rpx 5rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_1_c1_c1 {
		margin: 19rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_1_c1_c0_c4 {
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		margin: 0rpx 0rpx 0rpx 16rpx;
		line-height: 40rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.shopDetailes_fd1_1_c1_c0_c1 {
		font-size: 24rpx;
		font-weight: 700;
	}

	.shopDetailes_fd1_1_c1_c0_c0 {
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
		max-width: 200rpx;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		line-height: 40rpx;
	}

	.shopDetailes_fd1_1_c1 {
		margin: 0rpx 0rpx 0rpx 24rpx;
	}

	.shopDetailes_fd1_1_c0 {
		width: 60rpx;
		height: 60rpx;
	}

	.shopDetailes_fd1_1 {
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 32rpx 0rpx 12rpx 0rpx;
		padding: 40rpx 21rpx 40rpx 24rpx;
	}

	.shopDetailes_fd1_0_c1 {
		width: 140rpx;
		height: 140rpx;
	}

	.shopDetailes_fd1_0_c0_c3 {
		color: #FFFFFF;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 33rpx;
		margin: 8rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_fd1_0_c0_c1_c1 {
		background: transparent;
	}

	.shopDetailes_fd1_0_c0_c1_c0 {
		font-size: 24rpx;
		font-weight: 400;
		color: #FFFFFF;
	}

	.shopDetailes_fd1_0_c0_c1 {
		margin: 8rpx 0rpx 0rpx 0rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #fff;
	}

	.shopDetailes_fd1_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 700;
		color: #FFFFFF;
	}

	.shopDetailes_fd1_0 {
		padding: 12rpx 0rpx 0rpx 0rpx;
	}

	.shopDetailes_flex_2 {
		background: #fff;
		background-size: 100% auto !important;
		border-radius: 24rpx 24rpx 0rpx 0rpx;
	}

	.shopDetailes_fd2_0_c2_c0_c0_c1 {
		width: 32rpx;
		height: 32rpx;
	}

	.shopDetailes_fd2_0_c2_c0_c0 {
		padding: 20rpx 0rpx 20rpx 0rpx;
	}

	.shopDetailes_fd2_0_c2 {
		touch-action: none;
		width: 686rpx;
		margin: 0rpx auto 40rpx auto;
		max-height: 500rpx;
	}

	.shopDetailes_fd2_0_c1_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
		padding: 25rpx 24rpx 25rpx 24rpx;
	}

	.shopDetailes_fd2_0_c1 {
		background: #F8F8F8;
	}

	.shopDetailes_fd2_0_c0_c2 {
		font-size: 28rpx;
		font-weight: 700;
		color: var(--benbenFontColor4);
		line-height: 40rpx;
	}

	.shopDetailes_fd2_0_c0_c1 {
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
	}

	.shopDetailes_fd2_0_c0_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
		line-height: 40rpx;
	}

	.shopDetailes_fd2_0_c0 {
		padding: 32rpx 32rpx 32rpx 32rpx;
	}

	.shopDetailes_fd2_0 {
		border-radius: 24rpx 24rpx 0rpx 0rpx;
	}
</style>